module.exports = {
  schedule: {
    cron: '0 0 23 1 1 ?',
    type: 'worker',
    env: ['pachong'],
    // immediate: true
  },

  async task(ctx) {
    ctx.logger.info('task tt begin...');

    const topics = await ctx.service.crawlerSvc.mafengwo();

    ctx.logger.info(`task tt success`, topics.length);
  }
};
